<template>
  <div class="loading-wrapper">
    <van-loading size="24px" vertical>加载中...</van-loading>
  </div>
</template>

<script lang="ts">
import { Component, Watch, Prop, Vue, Ref } from 'vue-property-decorator'

@Component({
  components: {}
})
export default class Loading extends Vue {}
</script>

<style lang="scss" scoped>
.loading-wrapper {
  margin: 40px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  .loading-image {
    width: 24px;
    height: 24px;
    object-fit: cover;
    animation: rotate 1s linear infinite;
  }
  .loading-text {
    position: relative;
    top: 3px;
    margin-left: 10px;
    font-size: 14px;
    line-height: 20px;
    color: #757980;
  }
}
</style>
